<%@ page import="com.Wu.product.model.Product" %><%--
  Created by IntelliJ IDEA.
  User: 13478
  Date: 2024/12/2
  Time: 下午4:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<style>
    a{
        text-decoration:none;
    }
    table{
        margin: 0 auto;
    }
    .product-img img{
        weight:260px;
        height:340px;
    }
    .product-info div{
        font-size:25px;
    }
</style>
<body>
<h1 style="text-align:center">商品详情信息显示页</h1>
<div class="product-list" >
    <table width="900" height="450" border="2">
        <tr class="product-item" v-for="product in product_list ">
            <td class="product-img">
                < img src="static/img/productImages/<%=((Product)(request.getAttribute("product"))).getPicture()%>">
            </td>
            <td class="product-info" >
                <div>品名:<span><%=((Product)(request.getAttribute("product"))).getName()%></span></div>
                <div>原价:<del><%=((Product)(request.getAttribute("product"))).getMarket_price()%></del>元</div>
                <div>现价:<span><%=((Product)(request.getAttribute("product"))).getSell_price()%></span>元</div>
                <div>简介:<span><%=((Product)(request.getAttribute("product"))).getDescription()%></span></div>
                <div>返回</div>
                <div>添加到购物车</div>
            </td>
        </tr>
    </table>
</div>
</body>

</html>
